package android_serialport_api.bean;

/**
 * @author: created by gch
 * time: 2020/12/25 14:11
 * email: guchuanhang@126.com
 * 功能描述: 计算人体温度.
 * 0,0 为无效坐标
 * float temp = (float)(buffer[2] + (buffer[3] /100.0));
 */
public class CalculatePersonTempBean {
    private float calculatedTemp;
    private int xCoordinate;
    private int yCoordinate;

    public CalculatePersonTempBean(float calculatedTemp, int xCoordinate, int yCoordinate) {
        this.calculatedTemp = calculatedTemp;
        this.xCoordinate = xCoordinate;
        this.yCoordinate = yCoordinate;
    }

    @Override
    public String toString() {
        return "CalculatePersonTempBean{" +
                "calculatedTemp=" + calculatedTemp +
                ", xCoordinate=" + xCoordinate +
                ", yCoordinate=" + yCoordinate +
                '}';
    }
}
